package cn.com.landsky.camera.entity;

import cn.com.landsky.camera.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author qing.yunhui 
 * @Since 2011-2019
 * @create 2019-01-03 14:04:03
 * @history
 */
@Getter
@Setter
@ApiModel(description = "摄像头")
public class Camera extends BaseEntity<Long> {
	
	//columns START
	/**
	 * @Fields id:主键id
	 */
	@ApiModelProperty(hidden = true)
	private Long id;
	
	/**
	 * @Fields deviceNumber:设备编号(监控点唯一标识)
	 */
	/**
	 * @Fields deviceNumber:设备编号
	 */
	@ApiModelProperty(value="设备编号",name="deviceNumber",example="test",required = true)
	private String deviceNumber;
	
	/**
	 * @Fields url:预览取流URL
	 */
	@ApiModelProperty(value="预览取流URL",name="url",example="rtsp://ip:port/EUrl/CLJ52BW",required = true)
	private String url;
	
	/**
	 * @Fields deviceAlias:设备别名
	 */
	@ApiModelProperty(value="设备别名",name="deviceAlias",example = "test")
	private String deviceAlias;
	
	/**
	 * @Fields resolutionRatio:分辨率(640x480(普清))
	 */
	@ApiModelProperty(value="分辨率",name="resolutionRatio",example="640x480")
	private String resolutionRatio;
	
	/**
	 * @Fields colorSpace:
	 */
	@ApiModelProperty(value="色彩空间",name="resolutionRatio",example = "test")
	private String colorSpace;
	
	/**
	 * @Fields frameRate:
	 */
	@ApiModelProperty(value="帧率",name="frameRate",example = "test")
	private String frameRate;
	
	/**
	 * @Fields unitPrice:单价
	 */
	@ApiModelProperty(value="单价",name="unitPrice",example = "88.88")
	private Double unitPrice;
	
	/**
	 * @Fields memory:内存容量
	 */
	@ApiModelProperty(value="内存容量",name="memory",example = "test")
	private String memory;
	
	/**
	 * @Fields modelNumber:型号
	 */
	@ApiModelProperty(value="型号",name="modelNumber",example = "test")
	private String modelNumber;
	
	/**
	 * @Fields brand:品牌
	 */
	@ApiModelProperty(value="品牌",name="brand",example="test")
	private String brand;
	
	/**
	 * @Fields effectiveRange:有效距离
	 */
	@ApiModelProperty(value="有效距离",name="effectiveRange",example = "test")
	private String effectiveRange;
	
	/**
	 * @Fields lensSize:镜头规格大小
	 */
	@ApiModelProperty(value="镜头规格大小",name="lensSize",example = "test")
	private String lensSize;
	
	/**
	 * @Fields focalDistance:焦距
	 */
	@ApiModelProperty(value="焦距",name="focalDistance",example = "test")
	private String focalDistance;
	
	/**
	 * @Fields gmtCreate:创建时间
	 */
	@ApiModelProperty(hidden = true)
	private Date gmtCreate;
	
	/**
	 * @Fields gmtUpdate:修改时间
	 */
	@ApiModelProperty(hidden = true)
	private Date gmtUpdate;
	
	/**
	 * @Fields state:状态
	 */
	@ApiModelProperty(value="状态",name="state",example = "1")
	private Integer state;
	
	/**
	 * @Fields remark:备注
	 */
	@ApiModelProperty(value="备注`",name="remark",example = "test")
	private String remark;
	
	//columns END

}